<!DOCTYPE html>
<html lang="en">
<#--<link rel="stylesheet" href="/css/frame.css"/>-->
<link rel="stylesheet" href="/css/common/add.css"/>
<script type="text/javascript" src="${ctx}/plugin/jquery/jquery-2.1.1.js"></script>
<script type="text/javascript" src="${ctx}/plugin/jquery/jquery.form.js"></script>
<script type="text/javascript" src="${ctx}/plugin/jquery/jquery-validation/jquery.validate.min.js"></script>
<script type="text/javascript" src="${ctx}/plugin/layer-v1.9.2/layer/layer.js"></script>
<script type="text/javascript" src="${ctx}/common/common.js"></script>
<script type="text/javascript" src="${ctx}/js/task/addCheck.js"></script>

<link rel="stylesheet" type="text/css" href="${ctx}/css/mune/superfish.css" media="screen">
<#--<script type="text/javascript" src="js/jquery-1.2.6.min.js"></script>-->
<#--<script type="text/javascript" src="${ctx}/plugin/mune/hoverIntent.js"></script>-->
<script type="text/javascript" src="${ctx}/plugin/mune/superfish.js"></script>
<script type="text/javascript">

    // initialise plugins
    /*jQuery(function(){
        jQuery('ul.sf-menu').superfish();
    });*/

</script>
<body>
<div class="l_err" style="wid 100%; margin-top: 2px;"></div>
<form id="form" name="form" class="form-horizontal" method="post"
      action="/taskManage/addCheck"
      enctype="multipart/form-data">
    <input id="dataUrl" value="${dataUrl}" type="hidden"/>
    <section class="">
        <div class="form-layer-group clearfix">
            <input name="projectName" type="hidden" id="projectName" value=""/>
            <input name="excutePersonId" type="hidden" id="excutePersonId" value=""/>
            <div class="form-group-div form-layer-input clearfix"  id="specMenuDiv" style="z-index:999">
                <label class="control-label">问题库：</label>
                <input id="isCloseFile" name="isCloseFile" value="1" type="hidden"/>
                <input id="taskId" name="taskId" value="${taskId}" type="hidden"/>
                <input id="checkItemId" name="checkItemId" value="" type="hidden"/>
                <#--<a href="javascript:checkedSpecMenu()"">选择问题库</a>-->
                <#--<div style="display: none" id="specMenuDiv">-->
                <ul class="sf-menu" id="nav">
                    <li class="current"><a href="#a">问题库选择</a>
                        <ul class="sf-menu" id="nav">
                        <#if specMenu?? && specMenu?size gt 0>
                            <#list specMenu as specM>
                                <li class="current">
                                    <a href="#a"><span
                                <#--id="checkColor${child.eps.id}" dataId="${child.eps.id}"-->
                                            class="menu-text">${specM.spec.caption} </span>
                                        <i class="right-icon"></i>
                                    </a>

                                    <ul class="sf-menu" id="nav${specM.spec.id}">
                                        <#if specM.periodMune ??>
                                            <#macro bpTree periodChildren>
                                                <#if periodChildren?? && periodChildren?size gt 0>
                                                    <#list periodChildren as child>
                                                        <#if child.periodChildren?? && child.periodChildren?size gt 0>
                                                            <li class="current">
                                                                <a href="#a"><span
                                                                    id="checkColor${child.period.id}"
                                                                    dataId="${child.period.id}"
                                                                    class="menu-text">${child.period.caption} </span></a>
                                                                <ul class="sf-menu" id="nav${child.period.id}">

                                                                    <@bpTree periodChildren=child.periodChildren />
                                                                </ul>
                                                            </li>
                                                        <#else>

                                                            <li class="current">
                                                                <a href="#a"> <span id="checkColor${child.period.id}"
                                                              dataId="${child.period.id}"
                                                                                    class="menu-text">${child.period.caption} </span>
                                                                  <#if child.checkItemChildren?? && child.checkItemChildren?size gt 0>
                                                                <i class="right-icon"></i>
                                                                  </#if>
                                                                </a>

                                                                <ul class="sf-menu" id="nav${child.period.id}">
                                                                    <#list child.checkItemChildren as checkItem>
                                                                        <li class="current">
                                                                            <a href="javascript:checkItemDetails('${checkItem.id}','${checkItem.caption}', '${checkItem.checkRequire}', '${checkItem.measure}', '${checkItem.chekItemDemand}')">
                                                                                <b class="wj-fa"> </b> <span
                                                                                    id="checkColor${checkItem.id}"
                                                                                    dataId="${checkItem.id}"
                                                                            <#--  content="${checkItem.caption}"
                                                                              degree="${checkItem.checkRequire}"
                                                                              demand="${checkItem.measure}"
                                                                              checkStand="${checkItem.chekItemDemand}"-->
                                                                                    class="menu-text">
                                                                            <#--${checkItem.caption}-->
                                                                            ${checkItem.chekItemDemand}
                                                                            </span></a>

                                                                        </li>
                                                                    </#list>
                                                                </ul>
                                                            </li>

                                                        </#if>
                                                    </#list>
                                                </#if>
                                            </#macro>
                                            <!-- 调用宏 生成递归树 -->
                                            <@bpTree periodChildren=specM.periodMune />
                                        </#if>
                                    </ul>
                                </li>

                            </#list>
                        </#if>
                        </ul>
                    </li>
                </ul>
               <#--</div>-->
            </div>
            <div class="form-group-div form-layer-input clearfix">
                <label class="control-label">内容：</label>
                <span id="content"  class="span-medium"></span>
            </div>
            <div class="form-group-div form-layer-input clearfix">
                <label class="control-label">检查标准：</label>
                <span id="checkStand"  class="span-medium"></span>
            </div>
            <div class="form-group-div form-layer-input clearfix">
                <label class="control-label">检查要求：</label>
                <span id="degree"  class="span-medium"></span>
            </div>
            <div class="form-group-div form-layer-input clearfix">
                <label class="control-label">检查方法：</label>
                <span id="demand"  class="span-medium"></span>
            </div>
            <div class="form-group-div form-layer-input clearfix">
                <label class="control-label">检查意见：</label>
                <input type="text" name="expressionDesc"  placeholder="请输入检查意见" class="input-medium"id="expressionDesc" value=""/>
                <#--<input type="file" name="file" placeholder="请上传检查意见图片"  class="input-file-medium"id="file" value=""/>-->
            </div>
            <div class="form-group-div form-layer-input clearfix">
                <label class="control-label">检查意见图片：</label>
                <#--<input type="text" name="expressionDesc"  placeholder="请输入检查意见" class="input-medium"id="expressionDesc" value=""/>-->
                <input type="file" name="file" placeholder="请上传检查意见图片" style="height: 30px" class="input-file-medium"id="file" accept="image/*" value=""/>
            </div>
            <div class="form-group-div form-layer-input clearfix">
                <label class="control-label">&nbsp;</label>
                <#--<input type="text" name="expressionDesc"  placeholder="请输入检查意见" class="input-medium"id="expressionDesc" value=""/>-->
                <input type="file" name="file2" placeholder="请上传检查意见图片"  style="height: 30px" class="input-file-medium"id="file2" accept="image/*" value=""/>
            </div>
            <div class="form-group-div form-layer-input clearfix">
                <label class="control-label">&nbsp;</label>
                <#--<input type="text" name="expressionDesc"  placeholder="请输入检查意见" class="input-medium"id="expressionDesc" value=""/>-->
                <input type="file" name="file3" placeholder="请上传检查意见图片" style="height: 30px"  class="input-file-medium"id="file3" accept="image/*" value=""/>
            </div>
          <#--  <div class="form-group-div form-layer-input clearfix">
                <label class="control-label">亮点：</label>
                <input type="text" class="input-medium"  placeholder="请输入亮点" id="corpName" value=""/>
                <input type="file" class="input-file-medium" placeholder="请上传亮点图片" name="file" id="tp"/>
            </div>-->
            <div style="text-align: center;padding:12px 0px">
                <button type="button" class="cancel btn btn-cancel">取消</button>
                <button type="submit" id="submitButton" class="btn btn-main">确定</button>
            </div>
        </div>
    </section>
</form>
</body>

</html>
